Add graphs/frequent_pattern_graph_miner.py#1866
Conversation
cclauss
left a comment
There was a problem hiding this comment.
Thanks for your contribution. It needs some changes to meet our standards.
Co-Authored-By: Christian Clauss <cclauss@me.com>
Co-Authored-By: Christian Clauss <cclauss@me.com>
Co-Authored-By: Christian Clauss <cclauss@me.com>
Co-Authored-By: Christian Clauss <cclauss@me.com>
Co-Authored-By: Christian Clauss <cclauss@me.com>
Co-Authored-By: Christian Clauss <cclauss@me.com>
Co-Authored-By: Christian Clauss <cclauss@me.com>
|
Nice! Test are passing again. (LGTM can be ignored) |
Co-Authored-By: Christian Clauss <cclauss@me.com>
|
OK. Now we appear in the Travis tests Now please remove the second test that was designed to fail. |
|
https://travis-ci.com/github/TheAlgorithms/Python/builds/161205503#L1270 You can run these tests on your own computer with the command: |
Co-Authored-By: Christian Clauss <cclauss@me.com>
|
All changes have made. |
|
Could you please add doctests to at least some of these?
|
|
| @@ -100,7 +100,7 @@ def get_support(cluster :Dict[int,Dict[str,List[str]]])-> List[float]: | |||
| ''' | |||
| Returns support | |||
| >>> get_support({5: {'11111': ['ab', 'ac', 'df', 'bd', 'bc']}, 4: {'11101': ['ef', 'eg', 'de', 'fg'], '11011': ['cd']}, 3: {'11001': ['ad'], '10101': ['dg']}, 2: {'10010': ['dh', 'bh'], '11000': ['be'], '10100': ['gh'], '10001': ['ce']}, 1: {'00100': ['fh', 'eh'], '10000': ['hi']}}) | |||
There was a problem hiding this comment.
Lines in Python should be 88 characters max. Lines that can not be read in GitHub without left/right scrolling (127 characters) need to be wrapped for readability.
|
I will review tonight and then I think then we can land this one. Thanks for your persistence! |
|
can you pls merge the file? |
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}.